package com.zoe.app.entity;

import java.util.Date;

/**
 * @author Zoe.Zhang
 * @date 2021/09/25
 * @description
 */
public class User {
    private Long id;
    private String name;
    private Date birthday;
    private String address;

    public static User Builder() {
        return new User();
    }

    public User build() {
        return this;
    }

    public Long getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public Date getBirthday() {
        return birthday;
    }

    public String getAddress() {
        return address;
    }

    public User setId(Long id) {
        this.id = id;
        return this;
    }

    public User setName(String name) {
        this.name = name;
        return this;
    }

    public User setBirthday(Date birthday) {
        this.birthday = birthday;
        return this;
    }

    public User setAddress(String address) {
        this.address = address;
        return this;
    }
}
